/* 科室列表页面样式 */
.department-list-page {
  min-height: 100vh;
  background: #f5f5f5;
}

.campus-info-section {
  background: #e8f3ff;
  padding: 16px;
  border-bottom: 1px solid #d4e7ff;
}

.campus-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.campus-address {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

.switch-campus-btn {
  background: none;
  border: 1px solid #1677ff;
  color: #1677ff;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

.switch-campus-btn:hover {
  background: #1677ff;
  color: #fff;
}

.consult-banner {
  background: linear-gradient(135deg, #e8f3ff, #d4e7ff);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.consult-text {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.consult-btn {
  background: #1677ff;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.consult-btn:hover {
  background: #0958d9;
}

.search-box {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  background: transparent;
}

.department-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.department-item {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 8;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid #e9ecef;
}

.department-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background: #e8f3ff;
}

.department-icon {
  font-size: 20px;
}

.department-name {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  line-height: 1.2;
}

.no-results {
  text-align: center;
  padding: 20px;
  color: #999;
  font-size: 14px;
}
